<template>
  <view class="mz-t-button">
    <text @click="handleClick">
      <slot></slot>
    </text>
  </view>
</template>

<script>
export default {
  props: {
    name: {
      type: String,
      default: () => ""
    }
  },
  data() {
    return {};
  },
  methods: {
    handleClick(e) {
      this.$emit("click", e);
    }
  }
};
</script>

<style scoped lang="scss">
.mz-t-button {
  display: inline-block;
  color: $uni-color-primary;
  font-size: $uni-font-size-lg;
}
</style>
